//
//  XDPersonalCommentModel.m
//  XDEducation
//
//  Created by apple on 2017/4/19.
//  Copyright © 2017年 apple. All rights reserved.
//

#import "XDPersonalCommentModel.h"

@implementation XDPersonalCommentModel

+(instancetype)personalCommentModelWithDict:(NSDictionary *)dict{
    
    XDPersonalCommentModel * model = [[XDPersonalCommentModel alloc]init];
    model.create_time = [dict objectForKey:@"create_time"];
    model.remark = [dict objectForKey:@"remark"];
    model.homeworkId = [dict objectForKey:@"homeworkId"];
    model.subjectname = [[dict objectForKey:@"subject"] objectForKey:@"subjectname"];
    return model;
}

@end
